﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TTEngine
{
    public class Spider : Actor
    {
        //constructor
        public Spider()
            : base()
        {
            Alignment = "Monstrous";
            AttackName = "bites";
            Damage = new DamageExpressionList("1z4=p");
            AddTag("Arachnid");
            AddTag("WallCrawler");
        }

        //hostility
        public override bool IsHostile(Actor actor)
        {
            return !actor.HasTag("Spider");
        }

        //clone
        public override MapObject Clone()
        {
            return new Spider();
        }
    }
}
